package com.esunrise.shop.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.esunrise.shop.common.entity.SysMtUi;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMtUiMapper extends BaseMapper<SysMtUi> {
    SysMtUi findByMark(int width, int height, int merchant);

    SysMtUi findById(int id);

    List<SysMtUi> findLimit(int width, int height, int num);

    List<SysMtUi> userFindLimit(int width, int height, int num);

    int updateUrl(String url, int width, int height,int merchant);

    int insertOld(String url, int width, int height, int merchant);

    int deleteByMark(int width, int height,int merchant);

    int deleteByIdOld(int id);
}
